.box {
  position: relative;
  height: 100vh;
  width: 100vw;
}
.box .loop-box {
  display: flex;
  align-items: center;
  border: 1px solid black;
  position: absolute;
  height: 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.box .loop-box .iconfont {
  background-color: #ccc;
  height: 100%;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.box .loop-box .iconfont:hover {
  background-color: #ddd;
}
.box .loop-box .loop-container {
  width: 500px;
  overflow: hidden;
}
.box .loop {
  width: 800px;
  height: 50px;
  margin-left: -100px;
}
.box .loop li {
  float: left;
  width: 100px;
  height: 50px;
  padding: 5px;
}
.box .loop li a {
  display: block;
  width: 100%;
  height: 100%;
}
.box .loop li a img {
  display: block;
  width: 100%;
  height: 100%;
}
